package br.com.sysmagnus.repository;

import javax.ejb.Stateless;
import javax.inject.Named;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import br.com.sysmagnus.entity.HospedeEntity;



@Stateless
public class HospedeFacade extends AbstractFacade<HospedeEntity> {

	@PersistenceContext(unitName="SysMagnusCore",name="emClient")
	private EntityManager em;
	
	protected EntityManager getEntityManager(){
		return em;
	}
	
	public HospedeFacade(){
		super(HospedeEntity.class);
	}
	
}
